package com.mocha.bss.domain.rbac.repository.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serial;
import java.io.Serializable;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(of = {"id"})
@ToString
@TableName("sys_role_adm")
public class RoleAdmEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1122312L;

    @TableId(type = IdType.AUTO)
    private Long id;

    @TableField("data_type")
    private Integer dataType;

    @TableField("related_id")
    private Long relatedId;

    @TableField("adm_ids")
    private String admIds;


}
